package com.qijian.flowable.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qijian.flowable.domain.MatrixFieldVal;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 流程矩阵字段值Mapper接口
 *
 * @author qijian
 * @date 2022-02-08
 */
public interface MatrixFieldValMapper extends BaseMapper<MatrixFieldVal> {

    @Select("select count(0) from t_flowable_matrix_field_val WHERE create_time >= CURRENT_DATE ")
    int countCurrentDateWithDel();

    void deleteByMatrixId(long matrixId);

}
